/* eslint-disable indent */
const Ws = require('ws')
  ; ((Ws) => {
    // eslint-disable-next-line indent
    const server = new Ws.Server({ port: 8083 })
    const init = () => {
      bindEvent()
    }
    function bindEvent () {
      server.on('open', handleOpen)
      server.on('close', handleClose)
      server.on('error', handError)
      server.on('connection', handleConnection)
    }
    function handleOpen (e) { }
    function handleClose (e) { }
    function handError (e) { }
    function handleConnection (e) { }
    init()
  })(Ws)
